<template>
	<div class="max">
		<my-header :backBtn="true"></my-header>
		<div class="cont-nof">
			<article class="weui-article tl">
				<h1 class="tc">{{article.title}}</h1>
				<section>
					<section>
						<p class="tj" v-html="article.content"></p>
						<h3 style="font-weight: normal;" class="tr">时间：{{article.time}}</h3>
						<h3 style="font-weight: normal;" class="tr" v-if="type=='at'">发布人：{{article.author}}</h3>
						<h3 style="font-weight: normal;" class="tr" v-if="type=='feedback'">反馈人：{{article.author}}</h3>
					</section>
				</section>
			</article>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				article: {},
				type: '',
			}
		},
		created() {
			this.article = this.$route.query.data;
			this.type = this.$route.query.type;
		}
	}
</script>

<style>
</style>
